#ifndef __TIM_AS_H
#define __TIM_AS_H

#ifdef __cplusplus
extern "C" {
#endif

/* 包含头文件-----------------------------------------------------------------*/
#include "stm32f10x.h"

/* 宏定义---------------------------------------------------------------------*/

/* 类型定义-------------------------------------------------------------------*/

/* 全局变量-------------------------------------------------------------------*/

/* 函数原型-------------------------------------------------------------------*/
void tim1_config(uint16_t arr, uint16_t psc);
void tim2_config(uint16_t arr, uint16_t psc);
void tim3_config(uint16_t arr, uint16_t psc);

#ifdef __cplusplus
}
#endif

#endif /* tim.h */
